warn off (something)

Translations
dissuader de
Definitions
To advise or caution someone to stay away from something or to avoid a particular action, place, or person, often because it is considered dangerous, risky, or undesirable.